package zhongbo.java.air.dictionary.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import zhongbo.java.air.dictionary.model.enums.SourceType;

import java.sql.Date;


@Data
@ApiModel("航迹信息")
@TableName("air_flight_path")
public class Flight_path {
    @TableId(type = IdType.ASSIGN_UUID)//自动递增
    private String id;//UUID 主键
    @ApiModelProperty("关联飞机ICAO码")
    private String icaoCode;
    @ApiModelProperty("时间戳（精确到毫秒）")
    private Date timestamp;
    @ApiModelProperty("纬度（WGS84坐标系）")
    private Double latitude;
    @ApiModelProperty("经度（WGS84坐标系）")
    private Double longitude;

    @ApiModelProperty("海拔高度（米）")
    private int altitude;
    @ApiModelProperty("地速（公里/小时）")
    private Double speed;

    @ApiModelProperty("航向角（0-359度）")
    private String heading;

    @ApiModelProperty("数据源类型（枚举值：ADS_B, RADAR, MLAT")
    private SourceType sourceType;

}
